class cat():
    def __init__(self, name: str) -> None:
        self.name = name
    def __call__(self) -> None:
        print('Meow')
    def __getitem__(self, idx: int) -> None:
        print("I'm cat!")

if __name__ == '__main__':
    kitty = cat('Kitty')
    kitty()
    kitty[0]